<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>用户注册页面</title>
	<link rel="stylesheet" href="../jquery/jquery.mobile-1.0a4.1.min.css" />
	 <link rel="stylesheet" href="../css/user_style.css"/>
	<script type="text/javascript" src="../jquery/jquery-1.5.2.min.js"></script>
	<script type="text/javascript" src="../jqueryui/jquery-ui-1.8.11.custom.min.js"></script>
	<script type="text/javascript" src="../jquery/jquery.mobile-1.0a4.1.min.js"></script>
	<script  src="user_register.js"></script>
</head>
<body>
<div data-role="page">

	<div id="header" data-role="header" data-theme="b">
		用户注册页面
		<a onclick="location='login.jsp'"  data-role="button" data-icon="back" data-iconpos="notext" style="float: right;"  >回退</a> 
	</div><!-- /header -->

	<div data-role="content" >
		<form action="user/add.action" method="post" enctype="multipart/form-data">
	
			<div data-role="fieldcontain">
	         	<label for="id">用户编号:</label>
	        	 <input type="text"  id="id" value="系统将会为您自动生成" readonly="readonly" />
			</div>

			<div data-role="fieldcontain">
				<label for="name">用户名称:</label>
	        	 <input type="text" name="name" id="name"   />
	        	 <div id="info_name"></div>

			</div>
			

			<div data-role="fieldcontain">
	         <label for="password">用户密码:</label>
	         <input type="password" name="password" id="password"  />
	         <div id="info_password"></div>
			</div>

			<div data-role="fieldcontain">
				<fieldset data-role="controlgroup" data-type="horizontal">
			     		<legend>用户性别:</legend>
			     		<input type="radio" name="sex" id="sex_m" value="M" checked="checked"  />
			         	<label for="sex_m">男</label>
			         	<input type="radio" name="sex" id="sex_f" value="F" />
			         	<label for="sex_f">女</label>
			    </fieldset>
			</div>

			<div data-role="fieldcontain">
				<label for="age">用户年龄:</label>

			 	<input type="text" name="age" id="age"  min="0" max="100"  />
			</div>

			<div data-role="fieldcontain">
				<label for="tel">联系电话:</label>
				<input type="text" name="tel" id="tel"/>
			</div>

			<div data-role="fieldcontain">
			
				<label for="email">Email:</label>
				<input type="text" name="email" id="email"  />
			</div>
			
			<div data-role="fieldcontain">
				<label for="photo">Photo:</label>
				<input type="file" name="photo" id="photo"  />
			</div>
			<fieldset class="ui-grid-a">
				<div class="ui-block-a"><button type="reset" data-theme="d">取消</button></div>
				<div class="ui-block-b"><button type="submit" id="submit"  data-theme="a">注册</button></div>
	   		 </fieldset>
			
		 </form>
	</div><!-- /content -->
</div><!-- /page -->

</body>
</html>
